Calendar 
EntityType  Independent 
Logical Entity Name  Calendar 
Default Table Name  AdCalendar 
Logical Only  NO 
Definition 
 
Note 
 

Calendar Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
Code    CHAR(8)  NO 
 
Name    VARCHAR(35)  NO 
 
StartDate    DATETIME  NO 
 
EndDate    DATETIME  NO 
 
SyCampusID    INTEGER  NO 
 
ShiftId    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
LastModifiedUserId    INTEGER  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
Id(PK)    INTEGER  NO 
 
IsActive    BIT  NO 
 
CampusGroupId    INTEGER  NO 
 

Calendar Keys 
Key Name  Key Type  Keys 
NK_AdCalendar_AdShiftID_Active_INCL  Inversion Entry  ShiftId, IsActive 
AdCalendar_AdCalendarID_U_C_IDX  PrimaryKey  Id 

Calendar Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

Calendar Check Constraints 
Check Constraint Name  CheckConstraint